import request from '@/utils/request'

// 查询仓储物流列表
export function listIntStorage(query) {
  return request({
    url: '/internet/intStorage/list',
    method: 'get',
    params: query
  })
}

// 查询仓储物流详细
export function getIntStorage(id) {
  return request({
    url: '/internet/intStorage/info/' + id,
    method: 'get'
  })
}

// 新增仓储物流
export function addIntStorage(data) {
  return request({
    url: '/internet/intStorage',
    method: 'post',
    data: data
  })
}

// 修改仓储物流
export function updateIntStorage(data) {
  return request({
    url: '/internet/intStorage',
    method: 'put',
    data: data
  })
}

// 删除仓储物流
export function delIntStorage(id) {
  return request({
    url: '/internet/intStorage/' + id,
    method: 'delete'
  })
}
